<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <link rel="shortcut icon" href="images/logo W.jpg" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Work to Worker</title>
        <style>
            a:link {text-decoration:none;} 
        </style>
        <style type="text/css">
            @font-face {
                font-family: "jokerman";
                src: url('font/VIVALDII.TTF') format("truetype");
            }     
            @media screen and (-webkit-min-device-pixel-ratio:0)
            {
                #fix1 { margin-top: 0px }
                #detail{margin-top: 15px}
                #gender{margin-top: 19px}
            }
            @-moz-document url-prefix()
            {
                #fix1 { margin-top: -20px }
            #detail{margin-top: 20px}
            #username, #fullname{margin-top: -2px}
            #gender{margin-top: 23px}
        </style>
    </h:head>
    <h:body style="background-color:  #1A3665">

        <div style="width: 1000px;margin: auto;margin-top: 20px;background-color: white;border-radius: 10px;-moz-border-radius: 10px">
            <ui:include src="headertemplate1.xhtml" />
            <h:form>
                <hr style="width: 500px;margin-top: 30px" align="center"/>
                <div>
                    <div style="color: red;margin-top: 30px;font-size: 25px;font-weight: bold;padding-left: 50px">
                        You have successfully signed up !!!
                    </div >
                    <div style="background-color: #E9E9E9;color: black;font-size: 20px;font-weight: bold;padding-left: 80px;margin-top: 20px">
                        Your Infomation
                    </div>                
                    <div>
                        <ul style="margin-left: 80px">
                            <li style="display: inline-block;vertical-align: top;text-align: right;width: 200px;font-weight: bold;margin-top: 30px">
                                <ul id="username">
                                    <li style="list-style: none;">User name :<font style="color: red"> *</font></li>

                                </ul>
                                <ul style="margin-top: 20px">
                                    <li style="list-style: none;">Password :<font style="color: red"> *</font></li>

                                </ul>                                
                            </li>
                            <li style="display: inline-block;vertical-align: top;margin-top: 30px">
                                <ul style="margin-left: -15px"> 
                                    <li style="list-style: none;"><h:outputText value="#{workerSignUp.acc.useName}" /></li>
                                    <li style="list-style: none;margin-top: 20px" ><h:outputText value="#{workerSignUp.pass_temp}" /></li>                                    
                                </ul>
                            </li>
                            <li style="display: inline-block;margin-left: 60px">
                                <img src="images/PhotoShare.png" width="100" height="120" alt="PhotoShare"/>
                            </li>
                        </ul>
                    </div>
                    <hr style="width: 500px;margin-top: 30px;text-align: center" />
                    <div style="margin-left: 80px;margin-top: 20px">
                        <ul>
                            <li style="display: inline-block;vertical-align: top;text-align: right;width: 200px;font-weight: bold;">
                                <ul>
                                    <li style="list-style: none;" id="fullname">Full name :<font style="color: red"> *</font></li>                                    
                                    <li style="list-style: none;margin-top: 20px" >Gender :<font style="color: red"> *</font></li>
                                    <li style="list-style: none;margin-top: 20px">Phone :<font style="color: red"> *</font></li>
                                    <li style="list-style: none;margin-top: 20px">Address :<font style="color: red"> *</font></li>
                                    <li style="list-style: none;margin-top: 20px">Email :<font style="color: red"> *</font></li>

                                </ul>
                            </li>
                            <li style="display: inline-block;vertical-align: top;margin-left: -15px">
                                <ul>
                                    <li style="list-style: none;"><h:outputText value="#{workerSignUp.worker.name}" /></li>                                    
                                </ul>
                                <ul>
                                    <li style="list-style: none;margin-top: 20px"><h:outputText value="#{workerSignUp.gender_temp}" /></li>                                    
                                </ul>
                                <ul>
                                    <li style="list-style: none;margin-top: 20px" ><h:outputText value="#{workerSignUp.worker.phone}" /></li>
                                    <li style="list-style: none;margin-top: 20px" ><h:outputText value="#{workerSignUp.worker.address}" /></li>
                                    <li style="list-style: none;margin-top: 20px" ><h:outputText value="#{workerSignUp.worker.email}" /></li>
                                </ul>
                            </li>
                        </ul>                        
                        <ul style="margin-top: 20px">
                            <li style="display: inline;margin-left: 80px;font-weight: bold">Do you want to create new resume now ?</li>
                            <li style="display: inline;background-color: #1A3665;padding: 5px 10px 5px 10px;margin-left: 30px;">
                                <h:commandLink value="Create now" action="#{workerSignUp.signUpSuccess()}"  style="color: white">

                                </h:commandLink>
                            </li>
                            <li style="display: inline;background-color: #1A3665;padding: 5px 10px 5px 10px;margin-left: 30px"><a href="home.xhtml" style="color: white;">Create later</a></li>
                        </ul>
                    </div>
                </div>
                <br/>
                <br/>
            </h:form>
        </div>
        <div style="color: white; height: 100px;border-radius: 10px;-moz-border-radius: 10px;border: 1px;border-style: solid;border-color: white;margin-top: 20px">
            <div style="text-align: right; padding-top: 20px;padding-right: 30px">
                Copyright © by Group 1
                <br />
                Project Name : Work to Worker
                <br />
                Member in Group : Mr Bùi Hồng Hải , Mr Nguyễn Văn Cường , Mr Nguyễn Nhất Linh , Mr Lưu Thế Thông , Mr Trần Trung Hiếu
            </div>
        </div>

    </h:body>
</html>

